package com.jerry.security.controller;

import com.jerry.security.service.BaseServiceInterface;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;

/**
 * @author Jerry.Wu
 * @description:
 * @date 2018/8/29 18:41
 */
public class BaseController<T, ID extends Serializable> {

    @Autowired
    private BaseServiceInterface<T, ID> mModelService;

    public BaseServiceInterface<T, ID> getModelService() {
        return mModelService;
    }

    public void setModelService(BaseServiceInterface<T, ID> mModelService) {
        this.mModelService = mModelService;
    }

}
